package com.unknownman.block.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * ERC20代币持仓信息
 * </p>
 *
 * @author xhy
 * @since 2021-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TTokenErc20对象", description="ERC20代币持仓信息")
public class TTokenErc20 implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "token符号")
    private String tokenSymbol;

    @ApiModelProperty(value = "配置id")
    private Long contractConfigId;

    @ApiModelProperty(value = "所有者")
    private String ownerAddress;


    @ApiModelProperty(value = "数量(小数格式)")
    private BigDecimal tokenValue;

    private Date createDate;

    private Date updateDate;

    /**
     * Token合约地址
     */
    private String tokenAddress;


}
